<?php get_header(); ?>
<div class="main-container">
    <div class="container">
        <!-- Three columns of text below the carousel -->
        <div class="row">
            <div class="col-md-8">
                <?php if (have_posts()): ?>
                    <?php while (have_posts()) : the_post(); ?>
                        <div <?php post_class() ?>>                   
                            <div class="post-thumbnail thumbnail">
                                <?php
                                if (has_post_thumbnail()) {
                                    the_post_thumbnail('large');
                                }
                                ?>
                            </div>
                            <div class="post-single">
                                <h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
                                <div class="post-meta">
                                    Đăng bởi <a href="<?php the_author_link(); ?>"><?php the_author(); ?></a> trong mục <?php the_category(', '); ?>
                                </div>
                                <div class="entry-content">
                                    <?php the_content(); ?>
                                </div>
                            </div><!--end .post-info
                            <div class="comment-box">
                            <?php //comments_template();  ?>
                            </div><!--end .post-->
                        </div>
                        <?php
                    endwhile;
                endif;
                ?>
            </div>        
            <div class="col-md-4">
                <?php get_sidebar(); ?>
            </div>
        </div>
    </div>
    <?php get_footer(); ?>